package cn.shengongying.service;

import cn.shengongying.model.UserPositionApplyRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户申请职位记录 服务类
 * </p>
 *
 * @author RXK
 * @since 2022-01-10
 */
public interface IUserPositionApplyRecordService extends IService<UserPositionApplyRecord> {

    List<UserPositionApplyRecord> findByBossIdAndPositionIdPage(Long userId, Long positionId, Integer type);

    List<UserPositionApplyRecord> findByPositionIdAndStatus(Long positionId, int status);

    List<UserPositionApplyRecord> userApplyRecord(List<Long> userId, Long positionId, int status);
}
